package com.corechina.apex_osswords.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 菜单表
 * </p>
 *
 * @author cc
 * @since 2022-03-07
 */
@Getter
@Setter
@TableName("sys_menu")
@ApiModel(value = "SysMenu对象", description = "菜单表")
public class SysMenu implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("父级id")
    private Integer parentId;

    @ApiModelProperty("菜单名称")
    private String name;

    private String visited;

    @ApiModelProperty("菜单url")
    private String url;

    @ApiModelProperty("路径")
    private String path;

    @ApiModelProperty("备注")
    private String memo;

    @ApiModelProperty("排序")
    private BigDecimal sort;

    @ApiModelProperty("图标")
    private String icon;

    @ApiModelProperty("授权")
    private String perms;

    @ApiModelProperty("类型 0：目录 1：菜单 2：按钮 ")
    private Integer type;


}
